package com.winner.jdk_dynamic_proxy;

//创建被代理的类（委托类、真实类）UserServiceImpl
public class UserServiceImpl implements UserService {

    @Override
    public String sayHello(String name) {
        System.out.println("hello, " + name);
        return "hello, " + name;
    }

}
